package com.itheima.demo.demo07.Demo7CS;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class Test_8cs {
    public static void main(String[] args) {
        ExecutorService ex= Executors.newFixedThreadPool(2);
        Test_8 test_8=new Test_8();
        ex.submit(test_8);
        ex.submit(test_8);
        ex.submit(test_8);

    }
}
